*,*::after,*::before{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html{
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body{
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.7;
	color: #c4c3ca;
	overflow-x: hidden;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
  -webkit-background-size: 100% 100%;
  -o-background-size: 100% 100%;
  -khtml-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  background-size:100% 100%;
}
a {
	cursor: pointer;
}
a:hover {
	text-decoration: none;
}

/* #Cursor
================================================== */

.cursor,
.cursor2,
.cursor3{
	position: fixed;
	border-radius: 50%;	
	transform: translateX(-50%) translateY(-50%);
	pointer-events: none;
	left: -100px;
	top: 50%;
	mix-blend-mode: difference;
	-webkit-transition: all 300ms linear;
	transition: all 300ms linear;
}
.cursor{
	background-color: #fff;
	height: 0;
	width: 0;
	z-index: 99999;
}
.cursor2,.cursor3{
	height: 36px;
	width: 36px;
	z-index:99998;
	-webkit-transition:all 0.3s ease-out;
	transition:all 0.3s ease-out
}
.cursor2.hover,
.cursor3.hover{
	-webkit-transform:scale(2) translateX(-25%) translateY(-25%);
	transform:scale(2) translateX(-25%) translateY(-25%);
	border:none
}
.cursor2{
	border: 2px solid #fff;
	box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
}
.cursor2.hover{
	background: rgba(255,255,255,1);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}



/* #Primary style
================================================== */

.section {
    position: relative;
	width: 100%;
	display: block;
}
.over-hide{
	overflow: hidden;
}
/* .full-height {
	height: 100rem;
} */

/* #Navigation
================================================== */
 
.cd-header{
    position: fixed;
	width:100%;
	top:-1rem;
	left:0;
	z-index:100;
} 
.header-wrapper{
    position: relative;
	width: calc(100% - 100px);
	margin-left: 50px;
} 
.logo-wrap {
	position: absolute;
	display:block;
	right:0;
	top: 40px;
	cursor: pointer;
  margin-top: 0rem;
}
.logo-wrap a {
	cursor: pointer;
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	transition : all 0.3s ease-out;
}
.logo-wrap a span{ 
	color: #8167a9;
}
.logo-wrap a:hover {
	opacity: 0.9;
}
.logo-wrap img{
  width: 100px;
}
.nav-but-wrap{ 
	position: relative;
	float: left;
	padding-left: 70px;
	padding-top: 15px;
	margin-top: 35px;
	transition : all 0.3s ease-out;
}
.menu-icon {
	height: 30px;
	width: 30px;
	position: relative;
	z-index: 2;
	cursor: pointer;
	display: block;
}
.menu-icon__line {
	height: 2px;
	width: 30px;
	display: block;
	background-color: #fff;
	margin-bottom: 7px;
	cursor: pointer;
	-webkit-transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: transform .2s ease, background-color .5s ease;
	transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease;
}
.menu-icon__line-left {
	width: 16.5px;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
}
.menu-icon__line-right {
	width: 16.5px;
	float: right;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	transition: all 200ms linear;
}
.menu-icon:hover .menu-icon__line-left,
.menu-icon:hover .menu-icon__line-right {
	width: 30px;
}
.nav {
	position: fixed;
	z-index: 98;
}
.nav:before, .nav:after {
	content: "";
	position: fixed;
  top: 20px;
  left: 50px;
	width: 0;
	height: 0;
	background-color: rgba(20, 21, 26,0.6);
	border-bottom-right-radius: 200%;
	z-index: -1;
	transition: border-radius linear 0.8s, width cubic-bezier(0.77, 0, 0.175, 1) 0.6s, height cubic-bezier(0.77, 0, 0.175, 1) 0.6s;
}
.nav:after {
	background-color: rgb(29 29 52 / 40%);
  /* background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1462889/pat.svg'); */
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 300%;
	-webkit-transition-delay: 0s;
          transition-delay: 0s;
  box-shadow: 6px 7px 28px 0 #ffffff6d;
}
.nav:before {
	-webkit-transition-delay: .2s;
          transition-delay: .2s;
}
.nav__content {
	position: fixed;
	visibility: hidden;
	top: 90px;
  left: 50px;
	width: 280px;
	text-align: left;
}
.nav__list {
	position: relative;
	padding: 0;
	margin: 0;
	z-index: 2;
}
.nav__list-item {
	position: relative;
	display: block;
	-webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
	opacity: 0;
	text-align: left;
	color: #fff;
	overflow: hidden; 
	font-family: 'Poppins', sans-serif;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: 2px;
	-webkit-transform: translate(30px, 0%);
          transform: translate(30px, 0%);
	-webkit-transition: opacity .2s ease, -webkit-transform .3s ease;
	transition: opacity .2s ease, -webkit-transform .2s ease;
	transition: opacity .2s ease, transform .2s ease;
	transition: opacity .2s ease, transform .2s ease, -webkit-transform .2s ease;
  margin-top: 7px;
  margin-bottom: 7px;
}
.nav__list-item a{ 
	position: relative;
	text-decoration: none;
	color: rgba(255,255,255,0.6);
	overflow: hidden; 
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	z-index: 2;
  padding-left: 40px;
  padding-top:5px;
  padding-bottom: 5px;
	display: inline-block;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.nav__list-item a:after{ 
	position: absolute;
	content: '';
	top: 50%;
	left: 0;
	width: 5px;
	height: 0;
	opacity: 0;
	background-color: #fff;
	z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.nav__list-item a:hover:after{ 
	height: 100%;
	opacity: 1;
	top: 0;
}
.nav__list-item a:hover{
	color: rgba(255,255,255,1);
}
.nav__list-item.active-nav a{
	color: rgba(255,255,255,1);
}
.nav__list-item.active-nav a:after{ 
	height: 100%;
	opacity: 1;
	top: 0;
}
body.nav-active .nav__content {
	visibility: visible;
}
body.nav-active .menu-icon__line {
	background-color: #fff;
	-webkit-transform: translate(0px, 0px) rotate(-45deg);
          transform: translate(0px, 0px) rotate(-45deg);
}
body.nav-active .menu-icon__line-left {
	width: 15px;
	-webkit-transform: translate(2px, 4px) rotate(45deg);
          transform: translate(2px, 4px) rotate(45deg);
}
body.nav-active .menu-icon__line-right {
	width: 15px;
	float: right;
	-webkit-transform: translate(-3px, -3.5px) rotate(45deg);
          transform: translate(-3px, -3.5px) rotate(45deg);
}
body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
	width: 15px;
}
body.nav-active .nav {
	visibility: visible;
}
body.nav-active .nav:before, body.nav-active .nav:after {
	width: 250px;
	height: 350px;
	border-radius: 15px;
}
body.nav-active .nav:after {
	-webkit-transition-delay: .1s;
          transition-delay: .1s;
}
body.nav-active .nav:before {
	-webkit-transition-delay: 0s;
          transition-delay: 0s;
}
body.nav-active .nav__list-item {
	opacity: 1;
	-webkit-transform: translateX(0%);
          transform: translateX(0%);
	-webkit-transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, transform .3s ease, color .3s ease;
	transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease;
}
body.nav-active .nav__list-item:nth-child(0) {
	-webkit-transition-delay: 0.7s;
          transition-delay: 0.7s;
}
body.nav-active .nav__list-item:nth-child(1) {
	-webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
}
body.nav-active .nav__list-item:nth-child(2) {
	-webkit-transition-delay: 0.9s;
          transition-delay: 0.9s;
}
body.nav-active .nav__list-item:nth-child(3) {
	-webkit-transition-delay: 1s;
          transition-delay: 1s;
}
body.nav-active .nav__list-item:nth-child(4) {
	-webkit-transition-delay: 1.1s;
          transition-delay: 1.1s;
}
body.nav-active .nav__list-item:nth-child(5) {
	-webkit-transition-delay: 1.2s;
          transition-delay: 1.2s;
}
body.nav-active .nav__list-item:nth-child(6) {
	-webkit-transition-delay: 1.3s;
          transition-delay: 1.3s;
}
body.nav-active .nav__list-item:nth-child(7) {
	-webkit-transition-delay: 1.4s;
          transition-delay: 1.4s;
}
body.nav-active .nav__list-item:nth-child(8) {
	-webkit-transition-delay: 1.5s;
          transition-delay: 1.5s;
}
body.nav-active .nav__list-item:nth-child(9) {
	-webkit-transition-delay: 1.6s;
          transition-delay: 1.6s;
}
body.nav-active .nav__list-item:nth-child(10) {
	-webkit-transition-delay: 1.7s;
          transition-delay: 1.7s;
}







/* Background */

@keyframes animate {
  0%{
      transform: translateY(0) rotate(0deg);
      opacity: 1;
      border-radius: 0;
  }
  100%{
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
      border-radius: 50%;
  }
}

.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  background: #000123;
  overflow: hidden;
}
.background li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 24s linear infinite;
}




.background li:nth-child(0) {
  left: 4%;
  width: 51px;
  height: 51px;
  bottom: -51px;
  animation-delay: 1s;
}
.background li:nth-child(1) {
  left: 15%;
  width: 48px;
  height: 48px;
  bottom: -48px;
  animation-delay: 5s;
}
.background li:nth-child(2) {
  left: 4%;
  width: 102px;
  height: 102px;
  bottom: -102px;
  animation-delay: 2s;
}
.background li:nth-child(3) {
  left: 4%;
  width: 79px;
  height: 79px;
  bottom: -79px;
  animation-delay: 13s;
}
.background li:nth-child(4) {
  left: 74%;
  width: 8px;
  height: 8px;
  bottom: -8px;
  animation-delay: 3s;
}
.background li:nth-child(5) {
  left: 78%;
  width: 169px;
  height: 169px;
  bottom: -169px;
  animation-delay: 25s;
}
.background li:nth-child(6) {
  left: 21%;
  width: 195px;
  height: 195px;
  bottom: -195px;
  animation-delay: 1s;
}
.background li:nth-child(7) {
  left: 87%;
  width: 107px;
  height: 107px;
  bottom: -107px;
  animation-delay: 7s;
}
.background li:nth-child(8) {
  left: 59%;
  width: 216px;
  height: 216px;
  bottom: -216px;
  animation-delay: 17s;
}
.background li:nth-child(9) {
  left: 40%;
  width: 33px;
  height: 33px;
  bottom: -33px;
  animation-delay: 18s;
}
.background li:nth-child(10) {
  left: 78%;
  width: 117px;
  height: 117px;
  bottom: -117px;
  animation-delay: 33s;
}
.background li:nth-child(11) {
  left: 75%;
  width: 63px;
  height: 63px;
  bottom: -63px;
  animation-delay: 19s;
}
.background li:nth-child(12) {
  left: 13%;
  width: 153px;
  height: 153px;
  bottom: -153px;
  animation-delay: 41s;
}
.background li:nth-child(13) {
  left: 37%;
  width: 170px;
  height: 170px;
  bottom: -170px;
  animation-delay: 56s;
}
.background li:nth-child(14) {
  left: 55%;
  width: 85px;
  height: 85px;
  bottom: -85px;
  animation-delay: 45s;
}
.background li:nth-child(15) {
  left: 12%;
  width: 220px;
  height: 220px;
  bottom: -220px;
  animation-delay: 67s;
}
.background li:nth-child(16) {
  left: 31%;
  width: 70px;
  height: 70px;
  bottom: -70px;
  animation-delay: 43s;
}
.background li:nth-child(17) {
  left: 45%;
  width: 204px;
  height: 204px;
  bottom: -204px;
  animation-delay: 14s;
}
.background li:nth-child(18) {
  left: 28%;
  width: 67px;
  height: 67px;
  bottom: -67px;
  animation-delay: 37s;
}
.background li:nth-child(19) {
  left: 51%;
  width: 126px;
  height: 126px;
  bottom: -126px;
  animation-delay: 50s;
}

/* End Background */

/* main */
.container{
  position: relative;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  margin-top:0rem;
}
.titre {
  position: relative;
  width: 100vw;
  height: 50rem;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  margin-top: 0rem;
  margin-left: 0rem;
  display: flex;
}

#lastName, #firstName {
  font-size: 50px;
  font-weight: 900;
  color: #e4e2e2;
  width: 16rem;
}
.boutonAccueil {
  margin-top: 50vh;
}
.btn-cv{
  margin-left: -25rem;

}
.next{
  margin-top: 60vh;
  margin-left: 10rem;
}
.typed-text{
  color: #de009b;
}
.cursor {
  display: inline-block;
  width: 3px;
  margin-left: 4px;
  background: var(--teal);
}

.cursor.blink {
  animation: blink 0.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    background: var(--teal);
  }
  40%, 50% {
    background: transparent;
  }
}

.spacement{
  width: 26rem;
  height: 5px;
  background: #fff;
  border-radius: 70%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#introduction{
  margin-top: 0rem;
  width: 25rem;
}

.portrait{
  width: 28rem;
  height: 29.8rem;
  background: #ffffff69;
  margin-top: 7rem;
  margin-left: 0rem;
  border-radius: 28%;

}

.portrait img{
  width: 20rem;
  height: 30rem;
  margin-top: 0rem;
  margin-left: 0rem;

}

.btn-header {
  display: flex;
  gap: 50px;
  width: 20rem;
  margin-left: 0rem;
  margin-top: 15rem;
}

.btn-cv button, .btn-contact button{
  width: 10rem;
  height: 4rem;
  border-radius: 6%;
  background: #ffffff74;
  border: none;
  font-family: 'Poppins', sans-serif;
	font-size: 22px;
  transition: 0.8s linear;
  cursor: pointer;
  margin-left: 0rem;
}

.btn-cv button:hover,.btn-contact button:hover{
  background: #fff;
  color: #000;
  transition: 0.8s linear;
  cursor: pointer;
}


.next button{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff74;
  border: none;
  transition: 0.8s linear;
  cursor: pointer;
  margin-top: 0rem;
  margin-left: -2rem;
}

.next button:hover{
  background: #fff;
  color: #000;
  transition: 0.8s linear;
  cursor: pointer;
}

.next button i{
  font-size: 2rem;
  transition: font-size 1.5s linear;
}

/* social */

.social {
  z-index: 99;
  text-align: left;
  margin-top: 0rem;
  margin-left: 3rem;
  width: 1rem;
  height: 1rem;
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);


  padding: 15px;
}

.social a {
  display: inline-block;
  margin-right: 0rem; 
  font-size: 1.5rem;
  color: #fff;
  width: 100px;
}

#github{
  width: 100px;
}
/* compétences */



#competences{
  padding: 0rem;
  position: relative;
  font-size: 35px;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 6rem;
}
.tab{
  display: flex;
  justify-content: space-around;
  margin-top: 0rem;
  margin-left: 0rem;
}

.container-competences{
  margin-top: 0rem;
  margin-left: 0rem;
  height: 25rem;
}
.competences {
  position: relative;
  width: 360px;
  font-size: 35px;
  text-align: center;
}
.competences a {
  position: relative;
  float: left;
  width: 80px;
  height: 80px;
  margin: 5px;
  font-size: 1rem;
}
.article {
  
  cursor: pointer;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 7%;
  background-color: #a1a1a19a;
  box-shadow: 0 0 6px -2px #000, 0 0 45px -20px #000;
  color: #fff;
  line-height: 90px;
  transform: perspective(300px) rotateY(0deg);
  transition: transform 0.4s linear, background-color 0s linear 0.2s, color 0s linear 0.2s;
  a:hover & {
    -webkit-transform: perspective(300px) rotateY(180deg);
    -webkit-transition: transform 0.2s linear, background-color 0s linear 0.1s, color 0s linear 0.1s;
    transform: perspective(300px) rotateY(180deg);
    color: #eee;
  	transition: transform 0.2s linear, background-color 0s linear 0.1s, color 0s linear 0.1s;
  }
  a:nth-child(1):hover & {background-color: #DD4B25;}
  a:nth-child(2):hover & {background-color: #254BDF;}
  a:nth-child(3):hover & {background-color: #E8D44D;}
  a:nth-child(4):hover & {background-color: #7277AD;}
  a:nth-child(5):hover & {background-color: #C76395;}
  a:nth-child(6):hover & {background: rgb(246,210,75);
    background: -moz-linear-gradient(90deg, rgba(246,210,75,1) 25%, rgba(53,112,158,1) 74%);
    background: -webkit-linear-gradient(90deg, rgba(246,210,75,1) 25%, rgba(53,112,158,1) 74%);
    background: linear-gradient(90deg, rgba(246,210,75,1) 25%, rgba(53,112,158,1) 74%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f6d24b",endColorstr="#35709e",GradientType=1);}
  a:nth-child(7):hover & {background-color: #0F88BD;}
  a:nth-child(8):hover & {background-color: #000;}
  a:nth-child(9):hover & {background-color: #7811F2;}
  a:nth-child(10):hover & {background-color: #213145;}
  a:nth-child(11):hover & {background-color: #000;}
  a:nth-child(12):hover & {background-color: #3C823B;}
  a:nth-child(13):hover & {background-color: #E84E31;}
  a:nth-child(14):hover & {background: rgb(50,71,91);
    background: -moz-radial-gradient(circle, rgba(50,71,91,1) 36%, rgba(63,178,127,1) 84%);
    background: -webkit-radial-gradient(circle, rgba(50,71,91,1) 36%, rgba(63,178,127,1) 84%);
    background: radial-gradient(circle, rgba(50,71,91,1) 36%, rgba(63,178,127,1) 84%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#32475b",endColorstr="#3fb27f",GradientType=1);}
  a:nth-child(15):hover & {background-color: #000;}
  a:nth-child(16):hover & {background-color: #01A7E9;}
  a:nth-child(17):hover & {background-color: #2FA3F7;}
  a:nth-child(18):hover & {background-color: #F79500;}
  a:nth-child(19):hover & {background-color: #F43061;}
  a:nth-child(20):hover & {background-color: #F75EEE;}
}
.competences i, img {
  transition: transform 0s linear 0.2s, text-shadow 0s linear 0.2s;
  display: block;
  color: #fff;
  margin: 1rem;
  font-size: 3rem;
  --webkit-font-smoothing: subpixel-antialiased;
  a:hover & {
  	transition: transform 0s linear 0.1s, text-shadow 0s linear 0.1s;
    transform: scale(-1, 1);
    text-shadow: 0 0 50px rgba(255,255,255,0.5);
  }
}
.competences-h2{
  width: 22rem;
  height: 5rem;
  background-color: #ffffff84;
  border-radius: 5%;
  margin-left: 0.5rem;
  margin: 2rem;
}
.competences-h2 h2{
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  width: 22rem;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-left: 0rem;
}


/* projets */

h2 {
  font-size: 2rem;
}
h2 {
  font-size: 1.6rem;
}

.controls {
  padding: 1rem 3rem;
}
.btn {
  border: 0;
  outline: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-family: "DM Mono", monospace;
  cursor: pointer;
  font-weight: 500;
  color: #211d28;
  &:hover {
    filter: brightness(85%);
  }
}

.mixitup-control-active {
  border: 3px solid #00d4ff;
}

.card-list {
  display: flex;
  padding: 6rem;
  padding-left: calc(3rem + 100px);
  overflow-x: hidden;
  margin-top: -2rem;
  margin-left: 0rem;
}

.card {
  height: 450px;
  width: 300px;
  min-width: 300px;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #17141d;
  box-shadow: -0.5rem 0 1rem #4141416c;
  display: flex;
  flex-direction: column;
  margin-left: -100px;
  position: relative;
  opacity: 85%;
}
.card:hover {
  -webkit-transform: translateY(-1.5rem);
  transform: translateY(-1.5rem);
  h4 {
    background: linear-gradient(90deg, #c23ad7, #371576);
    text-shadow: none;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
  & ~ .card {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
  }
}

.card-head {
  margin-bottom: auto;
  h4{
    font-size: 2rem;
  }
  p {
    margin-bottom: 0.5rem;
  }
}

.card-author {
  display: grid;
  grid-template-columns: 75px 1fr;
  margin-bottom: 1rem;
  background-color: #ffffff33;
  padding: 10px;
  border-radius: 10px;
  &__avatar {
    position: relative;
    &::before {
      content: "";
      position: absolute;
      left: -6px;
      top: -6px;
      width: 56px;
      height: 56px;
      background-color: transparent;
      border: 3px solid #00d4ff;
      border-radius: 50px;
    }
  }
  &__info {
    display: grid;
    align-items: center;
    .info-title {
      font-weight: 700;
      color: #00d4ff;
      font-size: 1.2rem;
    }
  }
}

.card-author__info img {
  display: block;
  width: 14.5rem;
  height: 12rem;
  border-radius: 4%;
  margin-left: 0rem;
}
.card-tags {
  list-style: none;
  display: flex;
  li {
    border-radius: 25px;
    border: 1px solid;
    transition: 0.3s;
    a {
      color: #fff;
      text-decoration: none;
      display: block;
      padding: 5px 10px;
    }
    &:hover {
      background: linear-gradient(90deg, #371576, #c23ad7);
    }
    &:not(:last-child) {
      margin-right: 10px;
    }
  }
}

.transition {
  transition: 0.2s;
}

#projets{
  padding: 0rem;
  position: relative;
  font-size: 15px;
  align-items: center;
  display: flex;
  justify-content: center;
  top: 25rem;
}

.projets-container{
  margin-top: 0rem;
  margin-left: 0rem;
}
.projets-h2{
  width: 20rem;
  height: 5rem;
  background-color: #ffffff84;
  border-radius: 5%;
  margin-left: 16rem;
}
.projets-h2 h2{
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  width: 16rem;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-left: 2rem;
  margin-top: 0rem;
}

h3{
  display: flex;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
}
.projets-dev, .projets-design{
  margin-left: 0rem;
  margin-top: 2rem;
}

.projets-dev h2, .projets-design h2{
  display: flex;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  width: 20rem;
  justify-content: center;
  align-items: center;
  margin-left: 25rem;
}

.go{
  display: inline-flex;
  gap: 50px;
  padding: 30px;
  margin-left: 18rem;
}
.go button{
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #ffffff74;
  border: none;
  transition: 0.8s linear;
}

.go button:hover{
  background: #fff;
  color: #000;
  transition: 0.8s linear;
  cursor: pointer;
}

.go i{
  font-size: 2.5rem;
}

.btn-dev button{
  margin-top: 0rem;
  margin-left: 0rem;
}

#graphisme{
  padding: 0rem;
}

.btn-graphisme {
  margin-top: 0rem;
  margin-left: 0rem;
}

/* contact */

#contact{
  margin-top: 30rem;
  padding: 7rem;
  position: relative;
  font-size: 35px;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
}

#objet{
  opacity: 0;
}

.container-contact{
  margin-top: 3rem;
  margin-left: 0rem;
  width: 75rem;
  height: 46rem;
  -webkit-border-radius: 50px;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius: 50px;
  -moz-border-radius-bottomright: 0;
  border-radius: 50px;
  border-bottom-right-radius: 0;
  background-color: #ffffff73;
  box-shadow: 0 0 6px -2px #fff, 0 0 45px -20px #fff;
  color: #000123;
  line-height: 90px;
  transform: perspective(300px) rotateY(0deg);
  transition: transform 0.4s linear, background-color 0s linear 0.2s, color 0s linear 0.2s;
  
}
.contact-h2{
  background-color: #ffffff4e;
  border-radius: 50px;
  margin-left: 0rem;
  justify-content: center;
  display: flex;
  align-items: center;
}
.contact-h2 h2{
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  width: 17rem;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-left: 0rem;
}

.container-form{
  display: flex;
  justify-content: center;
  align-items: center;
}
.form__group {
  position: relative;
  padding: 20px 0 0;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 17px;
  color: #fff;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.form__field::placeholder {
  color: transparent;
}

.form__field:placeholder-shown ~ .form__label {
  font-size: 17px;
  cursor: text;
  top: 20px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #9b9b9b;
  pointer-events: none;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(90deg, #371576, #c23ad7);
  border-image-slice: 1;
}

.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #371576;
  font-weight: 700;
}

/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none;
}

.select {
  font-family:
    'Roboto','Helvetica','Arial',sans-serif;
	position: relative;
	width: 350px;
}

.select-text {
	position: relative;
	font-family: inherit;
	background-color: transparent;
	width: 350px;
	padding: 10px 10px 10px 0;
	font-size: 18px;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid rgba(0,0,0, 0.12);
}

/* Remove focus */
.select-text:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0, 0);
}

	/* Use custom arrow */
.select .select-text {
  -webkit-appearance:none;
	appearance: none;
}

.select:after {
	position: absolute;
	top: 18px;
	right: 10px;
	/* Styling the down arrow */
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(0, 0, 0, 0.12);
	pointer-events: none;
}


/* LABEL ======================================= */
.select-label {
	color: rgba(0,0,0, 0.26);
	font-size: 30px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 10px;
	transition: 0.2s ease all;
}

/* active state */
.select-text:focus ~ .select-label, .select-text:valid ~ .select-label {
	color: #9b9b9b;
	top: -20px;
	transition: 0.2s ease all;
	font-size: 20px;
}

/* BOTTOM BARS ================================= */
.select-bar {
	position: relative;
	display: block;
	width: 350px;
}

.select-bar:before, .select-bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: #371576;
	transition: 0.2s ease all;
}

.select-bar:before {
	left: 50%;
}

.select-bar:after {
	right: 50%;
}

/* active state */
.select-text:focus ~ .select-bar:before, .select-text:focus ~ .select-bar:after {
	width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

.btn-send{
  text-decoration: none;
  position: relative;
  border: none;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  width: 9em;
  height: 3em;
  line-height: 2em;
  text-align: center;
  background: linear-gradient(90deg, #371576, #c23ad7,  #371576, #c23ad7);
  background-size: 300%;
  border-radius: 30px;
  z-index: 1;
}

.btn-send:hover {
  animation: ani 8s linear infinite;
  border: none;
}

@keyframes ani {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 400%;
  }
}

.btn-send:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(90deg, #371576, #c23ad7,  #371576, #c23ad7);
  background-size: 400%;
  border-radius: 35px;
  transition: 1s;
}

.btn-send:hover::before {
  filter: blur(20px);
}

.btn-send:active {
  background: linear-gradient(32deg,  #371576, #c23ad7, #371576, #c23ad7);
}


/* footer */

footer {
  padding: 2rem;
  position: relative;
  font-size: 30px;
  text-align: center;
  background-color: #ffffff73;
  box-shadow: 0 0 6px -2px #fff, 0 0 45px -20px #fff;
  color: #fff;
}

.copyright {
  justify-content: center;
}

.txt {
  display: flex;
  flex-direction: column; /* Pour aligner les éléments en colonne */
  align-items: flex-end;
  margin-top: -8rem;
}

.txt a {
  margin-top: 10px; /* Pour ajouter un espace entre les liens */
  display: inline-block;
}

#contenuMentionsLegales {
  display: none;
}
#contenuMentionsLegales {
  color: #000123; /* Couleur du texte */
  margin-top: 4rem;
}
#contenuMentionsLegales a{
  color: #fff;
}
#contenuMentionsLegales h4,
#contenuMentionsLegales a.hover-target{
  text-align: center; /* Centre le texte pour les éléments h4 et le a */
}
#mentions-center p{
  text-align: center;
}
#contenuMentionsLegales h5, #contenuMentionsLegales p{
  font-size: 30px;
  text-align: left; /* Aligne le texte à gauche pour les éléments h5 */
}

.masquer a{
  color: #000123;
}

/* backoffice */

.backoffice {
  width: 55rem;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  -radius: 5px;
  opacity: 60%;
  border-radius: 25px;
  box-shadow: 0 0 10px rgb(255 255 255);
  color: #050505;
  margin-top: 5rem;
  overflow: hidden;


      .backoffice h1, h2, h3 {
          color: #000;
      }

      .backoffice h1 {
          display: flex;
          justify-content: center;
          align-items: center;
      }

      form {
          margin-bottom: 20px;
      }

      label {
          display: block;
          margin-bottom: 5px;
      }

      input[type="text"], input[type="submit"] {
          width: 100%;
          padding: 10px;
          margin-bottom: 10px;
          border: 1px solid #ccc;
          border-radius: 3px;
          box-sizing: border-box;
      }
      input[type="submit"]{
          background-color: red;
          color: #fff;
          cursor: pointer;
      }
      .ajout input[type="submit"] {
          background-color: #007bff;
      }

      .ajout{
          display: flex;
          justify-content: space-evenly;
      }

      .projets {
          margin-bottom: 20px;

      }

      .projet {
          background-color: #f9f9f9;
          padding: 10px;
          margin-bottom: 10px;
          border-radius: 3px;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .projet img {
          max-width: 100%;
          height: auto;
          margin-bottom: 10px;
          border-radius: 3px;
      }
      .back-msg{
          color:#000;
      }
      .back-msg table {
      width: 100%;
      border-collapse: collapse;
      }

      .back-msg th, .back-msg td {
          border: 1px solid #ccc;
          padding: 8px;
          text-align: left;
      }

      .back-msg th {
          background-color: #f2f2f2;
          color:#000;
      }

      .back-msg tr:nth-child(even) {
          background-color: #f2f2f2;
          color:#000;
      }

      .back-msg tr:hover {
          background-color: #ddd;
          color:#000;
      }

      .back-msg th:last-child, .back-msg td:last-child {
          text-align: center;
      }

      .back-msg a {
          color: #ff0000;
          text-decoration: none;
      }

      .back-msg a:hover {
          text-decoration: underline;
      }


      .suppr {
          color: #ff0000;
          text-decoration: none;
          margin-left: 10px;
      }

      .off a{
          font-size: 4rem;
          color: red;
      }
      .logo img{
          font-size: 3rem;
          margin-left:40rem;
          margin-top: -7rem;
      }
  }
/* login */

.login-page {
  
  width: 360px;
  padding: 8% 0 0;
  margin: auto;
}
.form {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 100px auto 100px;
  padding: 45px;
  text-align: center;
  background-color: #ffffff73;
  box-shadow: 0 0 6px -2px #fff, 0 0 45px -20px #fff;
  border-radius: 7%;
}

.form p{
  color: #000;
}
.form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 16px;
  margin-bottom: 2rem;
}



/* policy */
.policy{
  width: 80rem;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  -radius: 5px;
  opacity: 60%;
  border-radius: 25px;
  box-shadow: 0 0 10px rgb(255 255 255);
  color: #050505;
  margin-top: 5rem;
  margin-bottom: 5rem;
  overflow: hidden;
  font-size: 20px;
}
.policy li{
  list-style-type: circle;
  margin: 30px;
}
.policy h2{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  margin-bottom: 2rem;
}
.policy h5{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.policy p{
  margin-top: 1rem; 
  margin-bottom: 1rem;
}
.policy i{
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block{
  font-size: 30px;
  text-align: center;
  background-color: #ffffff73;
  box-shadow: 0 0 6px -2px #fff, 0 0 45px -20px #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 7%;

}


@media screen and (max-width: 1200px){
	.cursor,.cursor2,.cursor3{
		display: none
	}
}

@media screen and (min-width: 1200px) {
  /* Titre */
  .titre {
    padding: 5% 10%;
  }
  /* Projets */
  #competences .container-competences, #projets .projets-container {
    padding: 5% 10%;
  }
  /* Compétences */
  #competences .container-competences {
    padding: 5% 10%;
  }
  /* Contact */
  #contact {
    padding: 5% 10%;
  }
  /* Footer */
  footer {
    padding: 2% 10%;
  }
}

/* Styles pour les écrans moyens (tablettes) */
@media screen and (max-width: 1199px) and (min-width: 768px) {
 /* Titre */
 .titre {
  position: relative;
  margin: 23% 77%;
  width: -2rem;
  margin-left: 5rem;
  margin-top: 9rem;

  .social {
    margin-left: 1rem;
  }
  .btn-header{
    display: flex;
    gap: 50px;
    width: 0rem;
    margin-left: -52rem;
    margin-top: 5rem;
    .next{
      display: none;
    }
    .btn-cv{
      margin-left: -10rem;

    }
  }
  .underContainer1{
    position: relative;
    margin-right: 48rem;
    font-size: 50%;
    
    #introduction{
      font-size: 14px;
    }
  }
  .underContainer3{
    margin-left: 1rem;
  }
  .portrait {
    width: 24rem;
    margin-right: 7rem;
    margin-top: -28rem;
  }
  .portrait img{
    margin-top: 3rem;
  }

}
  /* Projets */
  #projets .projets-container {
    padding: 10% 5%;
    margin-left: -19rem;
    margin-top: 8rem;
  }
  .projets-h2{
    margin-left: 22rem;
  }
  .go{
    margin-left: 23rem;
  }
  .tab-content h3{
    margin-left: 21rem;
  }
  .card-list{
    display: block;
    margin-left: 20rem;
  }
  .tab{
    margin-top: 3rem;
  }
  /* Compétences */
  #competences .container-competences {
    padding: 7% 5%;
    margin-top: -8rem;
  }
  /* Contact */
  #contact {
    padding: 7% 5%;
  }
  /* Footer */
  footer {
    padding: 3% 5%;
  }
  .txt{
    display: flex;
    margin-top: 1rem;

  }
  .policy{
    width: 80%;
  }
}

/* Styles pour les petits écrans (téléphones) */
@media screen and (max-width: 767px) {
  /* nav */
  .nav-but-wrap{
    margin-top: 70px;
  }
  .nav:before, .nav:after {
    margin-top: 2rem;
  }
  .nav__list {
    margin-top: 2rem;
}


  body.nav-active .nav:after {
    width: 274px;
    height: 341px;
    border-radius: 15px;
    margin-top: 2rem;
}
  /* Titre */
  .titre {
    position: relative;
    margin: 23% 77%;
    width: -2rem;
    margin-left: 5rem;
    margin-top: 9rem;

    .social {
      margin-left: 1rem;
    }
    .btn-header{
      display: flex;
      gap: 50px;
      width: 0rem;
      margin-left: -52rem;
      margin-top: 3rem;
      .next{
        display: none;
      }
      .btn-cv{
        margin-left: -4rem;
      }
    }
    .underContainer1{
      position: relative;
      margin-right: 30rem;
      font-size: 50%;

      #introduction{
        font-size: 14px;
      }
    }
    .underContainer3{
      margin-left: 1rem;
    }
    .portrait {
      width: 21rem;
      height: 28rem;
      margin-right: 7rem;
      margin-top: -28rem;
    }
    .portrait img{
      width: 19rem;
      height: 28rem;
      margin-top: 3rem;
    }
  
  }

  /* Compétences */
  #competences .container-competences {
    padding: 10% 5%;
    margin-top: -10rem;
    margin-left: 1rem;
  }

  /* Projets */
#projets .projets-container {
    padding: 10% 5%;
    margin-left: -19rem;
    margin-top: 8rem;
  }
  .projets-h2{
    margin-left: 23.5rem;
  }
  .go{
    margin-left: 25rem;
  }
  .tab-content h3{
    margin-left: 21rem;
  }
  .card-list{
    display: block;
    margin-left: 20rem;
  }
  .card:hover {
    -webkit-transform: translateY(-1.5rem);
    transform: translateY(-1.5rem);
    h4 {
      background: linear-gradient(90deg, #c23ad7, #371576);
      text-shadow: none;
      -webkit-text-fill-color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
    }
    & ~ .card {
      -webkit-transform: translateX(100px);
      transform: translateX(100px);
    }
  }
  .tab{
    margin-top: 3rem;
  }
  /* Contact */
  #contact {
    padding: 10% 5%;
    margin-top: 18rem;
  }
  /* Footer */
  footer {
    padding: 5% 5%;
  }
  .txt{
    display: flex;
    margin-top: 2rem;

  }
  .policy{
    width: 60%;
  }
}

@media screen and (max-width: 500px) {

  /* Titre */
  .titre {
    position: relative;
    margin: 23% 77%;
    width: -2rem;
    margin-left: 5rem;
    margin-top: 9rem;

    .social {
    margin-left: 1rem;
    }
    #firstName{
      font-size: 40px;
    }
    .spacement{
      width: 10rem;
    }
    h2{
      font-size: 1.2rem;
    }
    p{
      font-size: 14px;
      margin-right: 7rem;
    }
    .btn-header{
    display: flex;
    gap: 20px;
    width: 0rem;
    margin-left: -52rem;
    margin-top: 3rem;
      .next{
    display: none;
      }
      .btn-cv{
    margin-left: -2rem;
      }
    }
    .underContainer1{
    position: relative;
    margin-right: 25rem;
    font-size: 21%;

      #introduction{
    font-size: 14px;
      }
    }
    .underContainer3{
    margin-left: 6rem;
    }
    .portrait {
    width: 16rem;
    height: 21rem;
    margin-right: 4rem;
    margin-top: -28rem;
    }
    .portrait
    img{
      width: 14rem;
      height: 21rem;
      margin-top: 3rem;
    }
  }

}